﻿using System;
using System.Xml.Schema;
using AbstraX.Bindings;
using System.Collections.Generic;

namespace AbstraX.Contracts
{
    public delegate void OnOutput(object sender, EventArgs eventArgs);

    public interface IPipelineService
    {
        void AddBindings(List<IBindingsTree> bindings);
        XmlSchema CodeGeneratorInterfaceSchema { get; }
        void GenerateFrom(List<IBindingsTree> bindings);
        void GenerateMiddleLayer(string id);
        event OnOutput OnOutput;
    }
}
